#ifndef BATCHCHECKINRESPONSEMODEL_H
#define BATCHCHECKINRESPONSEMODEL_H

#include "JsonSerializable.h"

namespace MesModel{

class BatchCheckInResponsePcuInfo;

class BatchCheckInResponseModel: public JsonSerializable
{
public:
    BatchCheckInResponseModel();
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;

public:
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString resultCode;
    QList<BatchCheckInResponsePcuInfo> pcuInfo;

};



class BatchCheckInResponsePcuInfo: public JsonSerializable
{
public:
    void fromJson(const QJsonObject& json);
    QJsonObject toJson()const;

public:
    QString locationNo;
    QString pcu;
    QString resultMsg;



};
}

#endif // BATCHCHECKINRESPONSEMODEL_H
